package product

import "time"

type Product struct {
	Id             int       `json:"id"`
	Name           string    `json:"name"`
	Price          float32   `json:"price"`
	Stock_quantity int       `json:"stock_quantity"`
	Image          string    `json:"image"`
	Category_id    int       `json:"category_id"`
	Created_at     time.Time `json:"created_At"`
	Updated_at     time.Time `json:"updated_at"`
}

func (Product) TableName() string {
	return "zlg_product"
}
